package net.mfjassociates.finance.domain.mfjfin_newdb;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import org.springframework.roo.addon.jpa.identifier.RooIdentifier;

@Embeddable
@RooIdentifier(dbManaged = false)
public final class InvoicesPK {

	@Column(name = "InvoiceID", nullable = false)
    private Integer invoiceId;

	@Column(name = "InvoiceDescription", nullable = false, length = 255)
    private String invoiceDescription;

	@Column(name = "Invoiceprefix", nullable = false, length = 50)
    private String invoicePrefix;

	public InvoicesPK(Integer invoiceId, String invoiceDescription, String invoicePrefix) {
        super();
        this.invoiceId = invoiceId;
        this.invoiceDescription = invoiceDescription;
        this.invoicePrefix = invoicePrefix;
    }

	private InvoicesPK() {
        super();
    }

	public Integer getInvoiceId() {
        return invoiceId;
    }

	public String getInvoiceDescription() {
        return invoiceDescription;
    }

	public String getInvoicePrefix() {
        return invoicePrefix;
    }
}
